#ifndef __ENCORDER_H
#define __ENCORDER_H

#ifdef __cplusplus
extern "C" {
#endif

#include "stdint.h"

void motor_speed_measure_int_enable(void);
void motor_speed_measure_int_disable(void);
void r_motor_speed_measure(void);
void l_motor_speed_measure(void);
int32_t r_motor_get_pulse(void);
int32_t l_motor_get_pulse(void);
void r_motor_set_pulse(int32_t pulse);
void l_motor_set_pulse(int32_t pulse);

#ifdef __cplusplus
}
#endif

#endif
